package com.yyt.file_demo.controller;

import com.yyt.file_demo.utils.ResourceFileUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yeyangtao created at 14:14 2020/9/7
 */
@RestController
public class TestController {
    @RequestMapping("file")
    public String file() throws Exception {
        new ResourceFileUtil().zipResources();
        return "success";
    }
}
